package com.san.hkhospital.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.san.hkhospital.entity.Room;
import com.san.hkhospital.entity.RoomExample;
import com.san.hkhospital.vo.ApparatusTableVo;
import com.san.hkhospital.vo.RoomTableVo;

/**
 * ClassName:RoomService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface RoomService{


    long countByExample(RoomExample example);

    int deleteByExample(RoomExample example);

    int deleteByPrimaryKey(Integer roomId);

    int insert(Room record);

    int insertSelective(Room record);

    List<Room> selectByExample(RoomExample example);

    Room selectByPrimaryKey(Integer roomId);

    int updateByExampleSelective(Room record,RoomExample example);

    int updateByExample(Room record,RoomExample example);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);

        List<Room> selectRoom();

        boolean addRoom(Room room);


        int updateRoom(Room room);

        Room findOneRoom(Integer roomId);
        PageInfo selectAll(Integer sectionId,Integer pageNum,Integer pageSize);
    }
